Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix abbrevation tips to work with vi mode #18

Merged
merged 2 commits into from
Oct 21, 2021
Merged

Conversation

ghost
Copy link

@ghost ghost commented Oct 17, 2021

Description

Default bind mode in fish is default which is stored in $fish_bind_mode variable. By default bind command binds keys in default mode.
After enabling vi keybindings in fish, mode can be toggled between both insert mode and default mode.
Thus, the bindings don't work for vi keybindings as we are normally in insert mode.
This PR will enable abbrevation-tips binds in vi mode.

Related issues

This might solve issue #4, but I am not sure, as it is working unexpectedly sometimes #4 (comment)

Notes

@okuuva
Copy link

okuuva commented Oct 20, 2021

Just tested this and it fixed #4 for me. Takkâ!

Edit: just to clarify, I do use vi mode with fish.

@gazorby
Copy link
Owner

gazorby commented Oct 21, 2021

Hi @madk38!

Good catch on this one!

Looks good to me, I'will merge it

@gazorby gazorby merged commit ff073a9 into gazorby:master Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants